#codinf=utf-8
#a mini Django project
import sys
from django.conf import settings
from django.conf.urls import url
from django.http import HttpResponse
from django.core.management import  execute_from_command_line
settings.configure(
        DEBUG = True,
        SECRET_KEY = 'iamasecretkeyhahahaha',
        ROOT_URLCONF = sys.modules[__name__],
)
def home(request):
    return HttpResponse('a mini django website')
urlpatterns = [
        url(r'^$', home),
    ]
if __name__ == "__main__":
    execute_from_command_line(sys.argv)